﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;

namespace ATM.Core.Infrastructure.Logging
{
    public class Log4NetLog : ILog
    {
        private log4net.ILog actualLog;

        public Log4NetLog()
        {
            actualLog = LogManager.GetLogger("staff.task.log");
        }

        public void Error(Exception ex)
        {
            actualLog.Error("Exception occured", ex);
        }


    }
}
